home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Games / NetHack 3.1.3 / source / include / flag.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-01  |  3.7 KB  |  107 lines  |  [TEXT/R*ch]

  1. /*    SCCS Id: @(#)flag.h    3.1    93/03/18    */
  2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3. /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5. #ifndef FLAG_H
  6. #define FLAG_H
  7.  
  8. struct flag {
  9. #ifdef AMIFLUSH
  10.     boolean  amiflush;    /* kill typeahead */
  11. #endif
  12. #ifdef    MFLOPPY
  13.     boolean  asksavedisk;
  14. #endif
  15.     boolean  beginner;
  16. #ifdef MICRO
  17.     boolean  BIOS;        /* use IBM or ST BIOS calls when appropriate */
  18. #endif
  19.     boolean  botl;        /* partially redo status line */
  20.     boolean  botlx;        /* print an entirely new bottom line */
  21.     boolean  cbreak;    /* in cbreak mode, rogue format */
  22.     boolean  confirm;    /* confirm before hitting tame monsters */
  23.     boolean  debug;        /* in debugging mode */
  24. #define wizard     flags.debug
  25.     boolean  DECgraphics;    /* use DEC VT-xxx extended character set */
  26.     boolean  echo;        /* 1 to echo characters */
  27.     boolean  end_own;    /* list all own scores */
  28.     boolean  explore;    /* in exploration mode */
  29. #define discover flags.explore
  30.     boolean  female;
  31.     boolean  friday13;    /* it's Friday the 13th */
  32.     boolean  help;        /* look in data file for info about stuff */
  33.     boolean  IBMgraphics;    /* use IBM extended character set */
  34.     boolean  ignintr;    /* ignore interrupts */
  35. #ifdef INSURANCE
  36.     boolean  ins_chkpt;    /* checkpoint as appropriate */
  37. #endif
  38.     boolean  invlet_constant; /* let objects keep their inventory symbol */
  39.     boolean  legacy;    /* print game entry "story" */
  40.     boolean  lit_corridor;    /* show a dark corr as lit if it is in sight */
  41.     boolean  made_amulet;
  42.     boolean  move;
  43.     boolean  mv;
  44.     boolean  news;        /* print news */
  45.     boolean  nopick;    /* do not pickup objects (as when running) */
  46.     boolean  null;        /* OK to send nulls to the terminal */
  47.     boolean  num_pad;    /* use numbers for movement commands */
  48. #ifdef MAC
  49.     boolean  page_wait;    /* put up a --More-- after a page of messages */
  50. #endif
  51.     boolean  pickup;    /* whether you pickup or move and look */
  52. #ifdef MAC
  53.     boolean  popup_dialog;    /* put queries in pop up dialogs instead of
  54.                    in the message window */
  55. #endif
  56. #ifdef MICRO
  57.     boolean  rawio;        /* Whether can use rawio (IOCTL call) */
  58. #endif
  59.     boolean  rest_on_space;    /* space means rest */
  60.     boolean  safe_dog;    /* give complete protection to the dog */
  61. #ifdef EXP_ON_BOTL
  62.     boolean  showexp;    /* show experience points */
  63. #endif
  64. #ifdef SCORE_ON_BOTL
  65.     boolean  showscore;    /* show score */
  66. #endif
  67.     boolean  silent;    /* whether the bell rings or not */
  68.     boolean  sortpack;    /* sorted inventory */
  69.     boolean  soundok;    /* ok to tell about sounds heard */
  70.     boolean  standout;    /* use standout for --More-- */
  71.     boolean  time;        /* display elapsed 'time' */
  72.     boolean  tombstone;    /* print tombstone */
  73. #ifdef TEXTCOLOR
  74.     boolean  use_color;    /* use color graphics */
  75.     boolean  hilite_pet;    /* hilight pets on monochome displays */
  76. #endif
  77.     boolean  verbose;    /* max battle info */
  78.  
  79.     boolean  window_inited;    /* true if init_nhwindows() completed */
  80.     unsigned end_top, end_around;    /* describe desired score list */
  81.     unsigned ident;        /* social security number for each monster */
  82.     unsigned moonphase;
  83. #define NEW_MOON    0
  84. #define FULL_MOON    4
  85.     unsigned msg_history;    /* hint: # of top lines to save */
  86.     unsigned no_of_wizards;    /* 0, 1 or 2 (wizard and his shadow) */
  87.                 /* reset from 2 to 1, but never to 0 */
  88.     unsigned run;        /* 0: h (etc), 1: H (etc), 2: fh (etc) */
  89.                 /* 3: FH, 4: ff+, 5: ff-, 6: FF+, 7: FF- */
  90.     char     inv_order[MAXOCLASSES];
  91.     char     pickup_types[MAXOCLASSES];
  92.     char     end_disclose[5];    /* disclose various info upon exit */
  93. #ifdef MAC_GRAPHICS_ENV
  94.     boolean  large_font;    /* draw in larger fonts (say, 12pt instead
  95.                    of 9pt) */
  96.     boolean  MACgraphics;    /* use Macintosh extended character set, as
  97.                    as defined in the special font HackFont */
  98. #endif
  99. #ifdef AMII_GRAPHICS
  100.     unsigned short amii_curmap[8]; /* colormap */
  101. #endif
  102. };
  103.  
  104. extern NEARDATA struct flag flags;
  105.  
  106. #endif /* FLAG_H */
  107.